- return unless show_active_user_count_threshold_banner?
.container-fluid.container-limited.pt-3
  = render Pajamas::AlertComponent.new(title: _('Your instance is approaching its licensed user count'),
    alert_options: { class: 'gitlab-ee-license-banner js-admin-licensed-user-count-threshold', data: { feature_id: Users::CalloutsHelper::ACTIVE_USER_COUNT_THRESHOLD, dismiss_endpoint: callouts_path } },
    close_button_options: { type: 'button', data: { testid: 'gitlab-ee-license-banner-dismiss' } }) do |c|
    - c.with_body do
      = _('Your instance has %{remaining_user_count} users remaining of the %{total_user_count} included in your subscription. You can add more users than the number included in your license, and we will include the overage in your next bill.') % { remaining_user_count: remaining_user_count, total_user_count: total_user_count }
    - c.with_actions do
      = link_button_to _('View users statistics'), admin_users_path, class: 'gl-alert-action', variant: :confirm
      = link_button_to _('Contact support'), EE::CUSTOMER_LICENSE_SUPPORT_URL, rel: 'nofollow', class: 'gl-alert-action', variant: :confirm, category: :secondary
